package org.example.fault.retry;

import org.example.model.RpcResponse;

import java.util.concurrent.Callable;

/**
 * @Description: TODO
 * @Author: sats@jz
 * @Date: 2025/3/4 11:01
 **/
public class NoRetryStrategy implements RetryStrategy{
    @Override
    public RpcResponse doRetry(Callable<RpcResponse> callable) throws Exception {
        return callable.call();
    }
}
